package com.company;

/**
 * @author jrue
 * @version 1.0
 * @date 2020/3/17 20:46
 */
public class Main09 {

    /**
     * 删除输入字符串中所有在模式字符串中出现的字符
     * @param strSrc string字符串 源字符串
     * @param strPat string字符串 模式字符串
     * @return string字符串
     */
    public String stringFilter (String strSrc, String strPat) {
        // write code here
        char[] chars = strPat.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            strSrc = strSrc.replaceAll(String.valueOf(chars[i]),"");
        }
        return strSrc;
    }

}
